package com.cipe.cmrs.model;

import java.sql.Timestamp;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 
 * @author Incepio
 * 
 */
@Entity
@Table(name = "projectstatuschangelog")
@SuppressWarnings("serial")
public class Projectstatuschangelog extends BaseAuditEntity {

/*	*//**
	 * Attribute projectstatuschangelogid.
	 *//*
	private Integer projectstatuschangelogid;
*/
	/**
	 * Attribute projects
	 */
    @ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "projectid")
	private Cipeproject cipeproject;

	/**
	 * Attribute projectstatus
	 */
    @ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "newprojectstatusid")
	private Cipeprojectstatus newprojectstatus;

	/**
	 * Attribute projectstatus
	 */
    @ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "oldprojectstatusid")
	private Cipeprojectstatus oldprojectstatus;

	/**
	 * Attribute statuschangedate.
	 */
	private Timestamp statuschangedate;



	public Cipeprojectstatus getNewprojectstatus() {
		return newprojectstatus;
	}

	public void setNewprojectstatus(Cipeprojectstatus newprojectstatus) {
		this.newprojectstatus = newprojectstatus;
	}

	public Cipeprojectstatus getOldprojectstatus() {
		return oldprojectstatus;
	}

	public void setOldprojectstatus(Cipeprojectstatus oldprojectstatus) {
		this.oldprojectstatus = oldprojectstatus;
	}

	public Timestamp getStatuschangedate() {
		return statuschangedate;
	}

	public void setStatuschangedate(Timestamp statuschangedate) {
		this.statuschangedate = statuschangedate;
	}

	public Cipeproject getCipeproject() {
		return cipeproject;
	}

	public void setCipeproject(Cipeproject cipeproject) {
		this.cipeproject = cipeproject;
	}

}